package Concurrency2.Chapter04_Visibility_Orderliness;

/**
 * Instruction：display the principle of volatile
 * need to view binary instructions.
 *
 * Author：@author MaLi
 */
public class T04_Volatile {
    private volatile int shared = 0;

    public static void main(String[] args) {
        T04_Volatile obj = new T04_Volatile();
        obj.shared = 100;
    }
}
